home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / arch / avr32 / include / asm / irq.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-12-24  |  431 b   |  25 lines

  1. #ifndef __ASM_AVR32_IRQ_H
  2. #define __ASM_AVR32_IRQ_H
  3.  
  4. #define NR_INTERNAL_IRQS    64
  5.  
  6. #include <mach/irq.h>
  7.  
  8. #ifndef NR_IRQS
  9. #define NR_IRQS            (NR_INTERNAL_IRQS)
  10. #endif
  11.  
  12. #define irq_canonicalize(i)    (i)
  13.  
  14. #ifndef __ASSEMBLER__
  15. int nmi_enable(void);
  16. void nmi_disable(void);
  17.  
  18. /*
  19.  * Returns a bitmask of pending interrupts in a group.
  20.  */
  21. extern unsigned long intc_get_pending(unsigned int group);
  22. #endif
  23.  
  24. #endif /* __ASM_AVR32_IOCTLS_H */
  25.